package com.yc.txx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 天下行租车-用车表-10
 * </p>
 *
 * @author baomidou
 * @since 2024-05-07
 */
@TableName("txx_lease")
public class Lease implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 编号
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 车辆ID
     */
      private Integer cid;

      /**
     * 用户ID
     */
      private Integer uid;

      /**
     * 订单时间
     */
      private LocalDateTime orderTime;

      /**
     * 提车时间
     */
      private LocalDateTime outTime;

      /**
     * 还车时间
     */
      private LocalDateTime backTime;

      /**
     * 借出日期: 2023-01-01,2023-01-02
     */
      private String days;

      /**
     * 金额
     */
      private Long money;

      /**
     * 状态: 支付,提车,还车
     */
      private String state;

      /**
     * 备注: 车辆是否损坏, 赔偿情况...
     */
      private String remark;
    
    public Integer getId() {
        return id;
    }

      public void setId(Integer id) {
          this.id = id;
      }
    
    public Integer getCid() {
        return cid;
    }

      public void setCid(Integer cid) {
          this.cid = cid;
      }
    
    public Integer getUid() {
        return uid;
    }

      public void setUid(Integer uid) {
          this.uid = uid;
      }
    
    public LocalDateTime getOrderTime() {
        return orderTime;
    }

      public void setOrderTime(LocalDateTime orderTime) {
          this.orderTime = orderTime;
      }
    
    public LocalDateTime getOutTime() {
        return outTime;
    }

      public void setOutTime(LocalDateTime outTime) {
          this.outTime = outTime;
      }
    
    public LocalDateTime getBackTime() {
        return backTime;
    }

      public void setBackTime(LocalDateTime backTime) {
          this.backTime = backTime;
      }
    
    public String getDays() {
        return days;
    }

      public void setDays(String days) {
          this.days = days;
      }
    
    public Long getMoney() {
        return money;
    }

      public void setMoney(Long money) {
          this.money = money;
      }
    
    public String getState() {
        return state;
    }

      public void setState(String state) {
          this.state = state;
      }
    
    public String getRemark() {
        return remark;
    }

      public void setRemark(String remark) {
          this.remark = remark;
      }

    @Override
    public String toString() {
        return "Lease{" +
              "id = " + id +
                  ", cid = " + cid +
                  ", uid = " + uid +
                  ", orderTime = " + orderTime +
                  ", outTime = " + outTime +
                  ", backTime = " + backTime +
                  ", days = " + days +
                  ", money = " + money +
                  ", state = " + state +
                  ", remark = " + remark +
              "}";
    }
}
